- type = local_assigns.fetch(:type)
- return unless type == :issues || type == :boards

#js-dropdown-iteration.filtered-search-input-dropdown-menu.dropdown-menu
  %ul{ 'data-dropdown' => true }
    %li.filter-dropdown-item{ 'data-value' => 'None' }
      = render Pajamas::ButtonComponent.new(variant: :link) do
        = _('None')
    %li.filter-dropdown-item{ 'data-value' => 'Any' }
      = render Pajamas::ButtonComponent.new(variant: :link) do
        = _('Any')
    %li.filter-dropdown-item{ 'data-value' => 'Current' }
      = render Pajamas::ButtonComponent.new(variant: :link) do
        = _('Current')
    %li.divider.droplab-item-ignore
  %ul.filter-dropdown{ data: { dropdown: true, dynamic: true } }
    %li.filter-dropdown-item
      = render Pajamas::ButtonComponent.new(variant: :link) do
        -# haml-lint:disable NoPlainNodes
        %span.dropdown-light-content
          {{title}}
